﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using Harmontronics.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.DataAccess.IOperate.Business
{
    public interface IProductionLineOperate
    {
        //查询所有
        public List<ProductionLine> GetAllProductionLineList();
        public ProductionLine GetProductionLineById(string id);
        public List<ProductionLine> GetProductionLineByIdList(List<string> ids);
        public List<ProductionLine> GetProductionLineByWorkShopId(string id);
        public void AddProductionLine(ProductionLine entity);
        public void UpdateProductionLine(ProductionLine model);
        public void DeleteProductionLine(ProductionLine entity);
        public void BatchDelProductionLine(List<ProductionLine> entity);
    }
}
